/**
 * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/

.order-detail-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.order-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.order-status {
  font-weight: bold;
  color: #007bff;
}

.order-date {
  color: #6c757d;
}

.order-items {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.order-items th,
.order-items td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.order-items th {
  background-color: #f8f9fa;
}

.product-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
}

.product-name {
  vertical-align: middle;
}

.order-total {
  text-align: right;
  font-weight: bold;
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.pay-my-order,
.refund-button {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #28a745;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pay-my-order:hover,
.refund-button:hover {
  background-color: #218838;
}

.error-message {
  color: #dc3545;
  text-align: center;
  margin-top: 10px;
}